package com.songminju.jdagger;

/*
@User mejee song
@Date 2017/9/12 
@Description 
*/
public class JDMath {
    public static int random(int min ,int max) {
        return (int) (min + Math.random() * (max-min));
    }
    public static double random(double min ,double max) {
        return min + Math.random() * (max-min);
    }
}
